package org.zfes.snowier.zbss.xzy.biz.agreement.service;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.core.data.SelectVo;
import org.zfes.snowier.zbss.xzy.biz.agreement.model.Agreement;
public interface IAgreementService{

	 Optional<Agreement> loadAgreementById(Long id);
	
	 void createAgreement(Agreement agreement);
	
	 void updateAgreement(Agreement agreement);

	 void deleteAgreement(Long id);
	
	 DataSet loadAgreementDataSet(Map<String, Object> params);
	 

 	void setAgreementStatus(Long id, Byte status);
 	
    List<SelectVo> loadAgreementSelectVo(String keywords);
    
}